﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

// Reviewed

#pragma once

#include "ICurve3d.h"
#include "WeakReferenceable.h"


namespace gcmp
{
    class Vector3d;

    /// \brief 裁剪曲线，行为与Edge保持一致
    ///
    class ITrimmedCurve : public ICurve3d, public  WeakReferenceable
    {
    public:

        /// \brief   获取几何曲线(拷贝实现)
        /// \return  几何曲线
        virtual OwnerPtr<ICurve3d> GetUnderlyingCurve() const = 0;

    public:
        virtual ~ITrimmedCurve() {}
    };
}